/**
 * Created by 郝栩彬 on 2017/7/10.
 */
var mongoose = require('mongoose');

module.exports = new mongoose.Schema({
    //用户名
    username:String,
    //密码
    password:String,
    //关联教学号
    jluname:String,
    //关联教学密码
    jlupassword:String,
    //真实姓名
    name:String,
    head:{
        type:String,
        default:"../public/main/image/chiken.jpg"
    },
    //学生唯一ID
    stuId:Number,
    isAdmin:{
        type:Boolean,
        default:false
    }
})